package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.mapper.StudentMapper;
import com.example.mybatisplus.model.domain.BuildingManagement;
import com.example.mybatisplus.model.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;
import com.example.mybatisplus.model.vo.StatVO;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 服务类
 * </p >
 *
 * @author ablbb
 * @since 2024-07-22
 */
public interface StudentService extends IService<Student> {
    Page<Student> pageList(Student student, PageDTO dto);

   /* Page<Student> getStudentsByRole(String studentRole, int pageNo, int pageSize);*/

    List<StatVO> stat();

    List<StatVO> statmajor();

    List<StatVO> statedu();
}
